import request from '@/utils/request'

// 查询销售价列表
export function getSalesList(params) {
  return request({
    url: '/system/sellingPrice/list',
    method: 'get',
    params,
  })
}
// 新增销售价
export function addSales(data) {
  return request({
    url: '/system/sellingPrice/add',
    method: 'post',
    data,
  })
}
// 修改销售价
export function updateSales(data) {
  return request({
    url: '/system/sellingPrice/edit',
    method: 'put',
    data,
  })
}
// 删除销售价
export function delSales(ids) {
  return request({
    url: `/system/sellingPrice/remove/${ ids }`,
    method: 'put',
  })
}